package com.baizhi.dao;



import com.baizhi.entity.Dept;
import com.baizhi.entity.Emp;

import java.util.List;

public interface EmpDao {
    public List<Emp> queryPageEmp(Integer begin);

    public Emp queryEmp(Integer id);

    public Integer queryAllTotal();

    public Dept queryDept(String name);

    public void addEmp(Emp emp);

    public void delEmp(Integer id);

    public void updEmp(Emp emp);

    public List<Dept>queryAllDept();

}
